﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Transportation
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ITrip_Service" in both code and config file together.
    [ServiceContract]
    public interface ITrip_Service
    {
        [OperationContract]
        List<LG_Trip> GetAllTrip();

        [OperationContract]
        ReturnBool AddNewTrip(LG_Trip new_trip);

        [OperationContract]
        ReturnBool EditInfoTrip(int trip_id, LG_Trip updated_trip);

        [OperationContract]
        ReturnBool RemoveTrip(int trip_id);

    }
}
